home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 76 / XENIATGM66.iso / Indiana Jones / Indiana Jones.exe / RESOURCE / PREVIEW.GOB / cog_tem_diflevel_hard.cog < prev    next >
Text File  |  1999-11-15  |  746b  |  40 lines

  1. # Jones 3D Cog Script
  2. #
  3. # TEM_DifLevel_Hard.cog
  4. #
  5. # [TRM]
  6. #
  7. # (C) 1999 LucasArts Entertainment Co. All Rights Reserved
  8. # ========================================================================================
  9.  
  10. symbols
  11.  
  12.     message     startup
  13.     
  14.     thing       t_Item
  15.     
  16.     int         dif_Level=5
  17.     
  18.     int         difficulty       local
  19.  
  20. end
  21.  
  22. # ========================================================================================
  23.  
  24. code
  25.  
  26. startup:
  27.  
  28.     difficulty = GetDifficulty();
  29.     
  30.     if(difficulty >= dif_Level) return;
  31.     
  32.     else SetThingFlags(t_Item, 0x80000);
  33.         
  34.     return;
  35.  
  36. # ========================================================================================
  37.  
  38. end
  39.  
  40.